package com.tre.jdevtemplateboot.common.dto;

import java.io.Serializable;
import java.util.List;


public class PageBean<T extends Serializable> implements Serializable {

    private static final long serialVersionUID = 2405172041950251807L;

    private String recordsTotal;
    private String pagesTotal;
    private Integer currentPage;
    private List<T> data;

    public String getRecordsTotal() {
        return recordsTotal;
    }

    public void setRecordsTotal(String recordsTotal) {
        this.recordsTotal = recordsTotal;
    }

    public String getPagesTotal() {
        return pagesTotal;
    }

    public void setPagesTotal(String pagesTotal) {
        this.pagesTotal = pagesTotal;
    }

    public Integer getCurrentPage() {
        return currentPage;
    }

    public void setCurrentPage(Integer currentPage) {
        this.currentPage = currentPage;
    }

    public List<T> getData() {
        return data;
    }

    public void setData(List<T> data) {
        this.data = data;
    }

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

}
